package dataCollection;

public class Dice {
  private final Die die_;
  private final int number_;
  
  Dice (int number, String str) throws InvalidDiceException {
    number_ = number;
    die_ = Die.autoCreateDie(str);
  }
  
  public Dice (int number, int value) throws InvalidDiceException {
    number_ = number;
    die_ = Die.autoCreateDie(value);
  }
  
  public int getNumber() {
    return number_;
  }
  
  public Die getDie() {
    return die_;
  }
  
  public int roll() {
    // TODO
    return 0;
  }
  
  public String toString() {
    return number_ + die_.toString();
  }
}
